import javax.crypto.Cipher;import javax.crypto.KeyGenerator;import javax.crypto.SecretKey;import javax.crypto.spec.SecretKeySpec;public class CryptoClient {        	public static void main(String[] argv) throws Exception {		String encryptionType = "Military";		String plain = "this is a secret message.";		CryptoSystem cryptoSystem = new CryptoSystem(encryptionType);		Ciphers.CryptoKey key = new Ciphers.CryptoKey((byte) 10);				if (encryptionType.equals("Military")) {			KeyGenerator keyg = KeyGenerator.getInstance("AES");		    keyg.init(128);		    SecretKey s = keyg.generateKey();			key = new Ciphers.CryptoKey(s.getEncoded());		}				String secret = cryptoSystem.encryptDoc(plain, key);		String decrypt = cryptoSystem.decryptDoc(secret, key);				System.out.println(" ******** Encryption Type: " + encryptionType + " *********");		System.out.println("Normal: " + plain);		System.out.println("Encrypted: " + secret);		System.out.println("Decrypted: " + decrypt);	}}